package com.jet.member.service;

import com.jet.member.domain.dto.MemberAssetsConsumeDto;
import com.jet.member.domain.entity.MemberAssets;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 会员财产信息 服务类
 * </p>
 *
 * @author author
 * @since 2025-03-02
 */
public interface IMemberAssetsService extends IService<MemberAssets> {

    List<MemberAssets> findListByIds(List<String> ids);

    void init(long merchantNo, String id, long addRecharge, long addIntegral);

    void investRecharge(long merchantNo, long storeNo, String memberId, String orderNo, long quantity, String ruleId);

    void investReturnRecharge(long merchantNo, String memberId, String orderNo, String refundNo, BigDecimal quantity, String ruleId);

    void rechargeConsume(MemberAssetsConsumeDto dto);

    void rechargeRefund(MemberAssetsConsumeDto dto);

    void addIntegral(long merchantNo, String id, String orderNo, long addIntegral, String remark);

    void removeIntegral(long merchantNo, String id, String orderNo, long removeIntegral, String remark);
}
